package com.cl.unipay4j.core.redpack;

import com.cl.unipay4j.core.IBaseEnum;

/**
 * 红包发放状态
 *
 * @author siashan
 * @since v1.0.1
 **/
public enum RedpackState implements IBaseEnum<String> {
    /**
     * 发放中
     */
    SENDING("SENDING", "发放中"),
    /**
     * 已发放待领取
     */
    SENT("SENT", "已发放待领取"),
    /**
     * 发放失败
     */
    FAILED("FAILED", "发放失败"),
    /**
     * 已领取
     */
    RECEIVED("RECEIVED", "已领取"),
    /**
     * 退款中
     */
    RFUND_ING("RFUND_ING", "退款中"),
    /**
     * 已退款
     */
    REFUND("REFUND", "已退款"),
    ;
    private String value;
    private String desp;


    RedpackState(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
